	<!--  CONTENT SECTION BEGINS HERE-->

<h2>Week Schedule for <?php 
						$currentUserModel= getUser($this->currentUser);
						echo $currentUserModel[1];
						?></h2> 
						
		<br>
		
		
		<!--TABLE FOR LATER USE-->	
	   <div class="table"> <img src="../images/bg-th-left.gif" width="8" height="7" alt="" class="left" /> 
							<img src="../images/bg-th-right.gif" width="7" height="7" alt="" class="right" />
											
		
        <table class="listing" cellpadding="0" cellspacing="0">
          <tr>
            <th class="first" width="200">Day Of Week</th>
            <th width="400">Shift</th>
            <th width="100">Q-Shift</th>            
            <th>&nbsp </th>
            <th class="last">&nbsp </th>
          </tr>	
		  
		<?php
		
		
		for($i=0;$i <= sizeof($this->data)-1;$i++):
			$trClassEnabled= '';
			if(($i % 2)==0)
				$trClassEnabled = 'class="bg"';
			echo "<tr ".$trClassEnabled.">\n";
				echo "<td class='first style2'>".$this->data[$i][4]."</td>\n";
				echo "<td>".$this->data[$i][2]."</td>\n";
				echo "<td>".$this->data[$i][3]."</td>\n";
				echo "<td class='last'>
					  <a href=\"javascript-required\" 
					   title=\"Edit Schedule\"
					   onclick=\"edit_schedule_user('".$this->currentUser."','"
													.$this->data[$i][1]."');return false;;\">
					  <img src='../images/edit-icon.gif' width='16' height='16' alt='Edit' />
					  </td>\n";
				echo "<td class='last'>
					  <a href=\"javascript-required\" 
					   title=\"Delete Schedule\"
					   onclick=\"delete_schedule_user('".$this->currentUser."','"
													.$this->data[$i][1]."');return false;;\">
					  <img src='../images/hr.gif' width='16' height='16' alt='Delete' />
					  </td>\n";					  
			echo "</tr>\n";
		
		
		endfor;
		
		?>
		<tr >
			<td class="style2" colspan=6>
				<a href="javascript-required" title="Add Schedule" onclick="add_schedule_user('<?php echo $this->currentUser?>'); return false;"><img src="../images/add-icon.gif" width="16" height="16" alt="add"/></a>
			</td>
		</tr>
        </table>
		
      </div>		  
	  
	<!-- YOUR CONTENT SECTION ENDS HERE-->

